/*颜色*/
/*点餐*/
.shopping-cart {
  margin-top: 10px;
  box-shadow: 1px 1px 2px #dddddd;
}
.shopping-cart ul li {
  border-bottom: 1px solid #dddddd;
  padding: 8px;
  background: #fff;
}
.shopping-cart ul li:last-child {
  border-bottom: none;
}
.shopping-cart ul .price {
  margin-right: 20px;
  width: 70px;
  text-align: right;
}
.shopping-cart ul .calc span > i {
  cursor: pointer;
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  margin: 0;
}
.shopping-cart ul .calc .reduce {
  background: url(../img/reduce_press.png) no-repeat;
  background-size: 22px;
  margin-right: 4px;
}
.shopping-cart ul .calc .plus {
  background: url(../img/plus_press.png) no-repeat;
  background-size: 22px;
  margin-left: 4px;
}
.sub-btn {
  line-height: 40px;
}
.sub-btn input {
  margin-left: 12px;
  box-shadow: none;
  border-radius: 4px;
  background: -webkit-gradient(linear, left top, right bottom, from(#ffc64b), to(#ffae3a));
  box-shadow: 0px 1px 3px 0px #f5cd92;
}
.sub-btn .yes {
  background: url(../img/yes.png) no-repeat;
  background-size: 22px 22px;
}
.sub-btn .total {
  text-align: right;
  font-size: 10px;
  float: right;
  color: #f15d52;
}
.sub-btn .total b {
  color: #333333;
}
/*分享*/
.share_bg {
  background: url(../img/share_friends.png) no-repeat center;
  background-size: 196px;
  height: 20px;
}
.td_code {
  width: 132px;
  height: 132px;
  overflow: hidden;
  background: #ffffff;
  margin: 0 auto;
  border-radius: 66px;
  margin-top: 14px;
}
.td_code img {
  width: 74px;
  height: 74px;
  display: block;
  margin: 28px auto;
}
.share_footer {
  padding: 0 20px;
  margin-top: 20px;
}
.share_footer .code_pic img {
  display: inline-block;
  width: 114px;
}
.share_footer .code_num {
  background: url(../img/qr-bg.png) no-repeat;
  background-size: 100%;
  height: 50px;
  position: relative;
  margin-bottom: 20px;
}
.share_footer .code_num p {
  position: absolute;
  top: 24px;
  right: 12px;
  color: #fff;
}
.share_footer .code_num p span {
  font-size: 18px;
}
.share_footer .fr > p {
  color: #999;
}
/*点单详情 order-details*/
.main-title {
  padding: 12px 10px;
  cursor: pointer;
  line-height: 16px;
  font-size: 12px;
  border-radius: 0;
  background: #fff;
  margin-top: 54px;
  width: 100%;
  position: fixed;
  border-bottom: 1px solid #dddddd;
  z-index: 99;
  box-sizing: border-box;
}
.main-title i {
  width: 10px;
  margin-left: 10px;
  height: 6px;
  display: inline-block;
  background: url(../img/triangle_arrow.png) no-repeat;
  background-size: 10px;
  vertical-align: middle;
}
.main-title select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  outline: none;
  border: none;
  color: #999999;
  padding-right: 20px;
  background-image: url(../img/triangle_arrow.png);
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: right center;
}
.b-bg {
  width: 100%;
  height: 10px;
  background: #f7f7f7;
  position: fixed;
  z-index: 999;
  top: 45px;
}
/*@media screen and (max-height: 480px){

	.main nav{
		height: 300px;
		overflow: auto;
		margin-bottom: 40px;
	}

}*/
.main {
  background: #f7f7f7;
  box-shadow: none;
}
.main nav {
  width: 24%;
  position: fixed;
  margin-top: 2px;
  background: #ffffff;
  border-right: 1px solid #dddddd;
  z-index: 99;
  height: calc(100% - 136px);
  height: -moz-calc(100% - 136px);
  height: -webkit-calc(100% - 136px);
  height: -o-calc(100% - 136px);
  overflow: auto;
}
.main nav .act {
  background: rgba(255, 255, 255, 0);
}
.main nav ul li {
  padding: 10px 16px;
  border-bottom: 1px solid #dddddd;
  cursor: pointer;
  position: relative;
  font-size: 10px;
  text-align: center;
  background: #ffffff;
}
.main nav ul li a {
  color: #999999;
}
.main nav ul li a i {
  width: 36px;
  height: 36px;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 8px;
}
.main nav ul li .bar {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 2px;
}
.main nav li:nth-child(1) .bar {
  background: #6589ff;
}
.main nav li:nth-child(1) i {
  background: url(../img/packages.png) no-repeat;
  background-size: 36px;
}
.main nav li:nth-child(2) .bar {
  background: #9b69f6;
}
.main nav li:nth-child(2) i {
  background: url(../img/wine.png) no-repeat;
  background-size: 36px;
}
.main nav li:nth-child(3) .bar {
  background: #56d087;
}
.main nav li:nth-child(3) i {
  background: url(../img/drink.png) no-repeat;
  background-size: 36px;
}
.main nav li:nth-child(4) .bar {
  background: #ff9639;
}
.main nav li:nth-child(4) i {
  background: url(../img/snacks.png) no-repeat;
  background-size: 36px;
}
.main nav li:nth-child(5) .bar {
  background: #f15d52;
}
.main nav li:nth-child(5) i {
  background: url(../img/staple_food.png) no-repeat;
  background-size: 36px;
}
.main nav li:nth-child(6) .bar {
  background: #99e010;
}
.main nav li:nth-child(6) i {
  background: url(../img/shuiguo_icon.png) no-repeat;
  background-size: 36px;
}
.main nav li:nth-child(7) .bar {
  background: #dfe6e8;
}
.main nav li:nth-child(7) i {
  background: url(../img/qita_icon.png) no-repeat;
  background-size: 36px;
}
.main aside {
  width: 75%;
  background: #f7f7f7;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 30px;
}
.main aside .aside-top {
  padding: 4px 0;
  border-top: 1px solid #dddddd;
  position: fixed;
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
  width: 75%;
  font-size: 12px;
}
.main aside .aside-top span {
  font-size: 10px;
  color: #999999;
}
.main aside ul {
  padding: 23px 12px 0;
}
.main aside li {
  font-size: 12px;
  border-bottom: 1px solid #dddddd;
  padding: 14px 0;
}
.main aside li p:nth-child(2) {
  color: #f15d52;
}
.main aside li p:nth-child(2) span {
  color: #999999;
  font-size: 12px;
}
.main aside li div i {
  cursor: pointer;
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  margin: 0;
}
.main aside li div .reduce {
  background: url(../img/reduce_press.png) no-repeat;
  background-size: 22px;
  margin-right: 4px;
}
.main aside li div .plus {
  background: url(../img/plus_press.png) no-repeat;
  background-size: 22px;
  margin-left: 4px;
}
.sub-btn {
  position: fixed;
  bottom: 0;
  width: 100%;
  border-top: 1px solid #dddddd;
  padding-left: 10px;
  z-index: 999;
}
.sub-btn i {
  width: 30px;
  height: 30px;
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  background: url(../img/cart_icon.png) no-repeat;
  background-size: 30px;
}
.sub-btn span {
  width: 16px;
  height: 16px;
  border-radius: 10px;
  background: #ffad39;
  font-size: 12px;
  color: #fff;
  display: inline-block;
  text-align: center;
  line-height: 16px;
  position: absolute;
  left: 30px;
  top: 2px;
}
.sub-btn p {
  text-align: right;
  font-size: 10px;
  float: right;
  padding-left: 10px;
  line-height: 40px;
  display: inline-block;
}
.fade {
  opacity: 0;
  -webkit-transition: opacity .15s linear;
  -o-transition: opacity .15s linear;
  transition: opacity .15s linear;
}
#single .modal-body {
  padding: 0;
}
#single .modal-body .modal-pic {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: url(../img/nopic2.png) no-repeat center;
  background-size: 30%;
}
#single .modal-body .modal-pic .more-info {
  position: absolute;
  width: 100%;
  margin: 0 auto;
  bottom: 0;
  color: #fff;
  font-size: 10px;
  background: rgba(0, 0, 0, 0.4);
}
#single .modal-body .modal-pic .more-info div {
  line-height: 30px;
}
#single .modal-body .modal-pic .more-info p {
  display: none;
  padding: 10px;
}
#single .modal-body .food-modal-foot {
  padding: 12px;
}
#single .modal-body .food-modal-foot p {
  line-height: 35px;
  font-size: 12px;
  color: #f15d52;
  display: inline-block;
}
#single .modal-header {
  min-height: 16.43px;
  padding: 6px;
  position: absolute;
  top: 0px;
  right: 0;
  z-index: 66666666;
  border: none;
  background-color: rgba(0, 0, 0, 0.6);
}
#single .modal-header .close {
  float: right;
  font-size: 21px;
  line-height: 1;
  color: #FFF;
  opacity: 1;
}
#single img {
  width: 100%;
  height: 100%;
}
#single footer {
  padding: 12px;
}
#single footer p {
  font-size: 12px;
}
#single footer p:last-child span {
  font-size: 10px;
  color: #f15d52;
}
/*确认订单*/
.order-food {
  margin-top: 10px;
}
.order-food .of-top {
  border-bottom: 1px solid #dddddd;
}
.order-food .of-top div {
  padding: 10px;
}
.order-food .of-top div p {
  font-size: 12px;
  color: #999999;
  margin-top: 4px;
}
.order-food .of-top div p span {
  color: #f15d52;
}
.order-food .of-top div p:last-child {
  margin-top: 10px;
  font-size: 12px;
}
.order-food .of-content {
  padding: 10px;
}
.order-food .of-content span {
  vertical-align: top;
}
.order-food .of-content ul {
  display: inline-block;
}
textarea {
  background: #f7f7f7;
}
.pay-food .pay-num {
  padding: 10px;
}
.pay-food .pay-num p:first-child span {
  color: #999999;
}
.pay-food .pay-num p:last-child span {
  color: #f15d52;
}
.remain-time {
  font-size: 12px;
  color: #999999;
  text-align: center;
  line-height: 30px;
}
.remain-time i {
  display: inline-block;
  background: url(../img/remain-time.png) no-repeat center;
  background-size: 10px;
}
.com_step h1 {
  font-size: 18px;
}
.com_step p {
  line-height: 30px;
  font-size: 14px;
}
